package com.hxx.utils;

import com.hxx.domain.TUser;

import java.lang.reflect.Field;

public class TestDemo {
     public static void main(String[] args) {
         Class<TUser> aClass = TUser.class;
         Field[] fields = aClass.getDeclaredFields();
         for (Field field : fields) {
             String methodName = "set" +
                     field.getName().substring(0, 1).toUpperCase()+
                     field.getName().substring(1);
             System.out.println(field.getType().getSimpleName());
         }
     }
}
